package com.zimin.cloud.mine.pojo.file.business;

import lombok.*;

import javax.validation.constraints.NotBlank;

/**
 * 上传人脸识别图片到mongodb中
 *
 * @author zimin
 * @since 2022/4/8 10:42 上午
 */
@Builder
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class FaceBO {

    @NotBlank(message = "用户ID不可为空")
    private String userId;

    @NotBlank(message = "用户名称不可为空")
    private String userName;

    @NotBlank(message = "上传头像")
    private String img64;

}
